[1] "install and loading dependencies packages"
[1] "source change_me.r file"
[1] "time taken to import all datasets"
26.687 sec elapsed
[1] "time taken to import all diagnosis based on icd codes"
16.472 sec elapsed
[1] "time taken to extract phenotypic information to diagnosed samples"
2.936 sec elapsed
As a quick qc step, want to look at the demographics of a particular subset of the UKB sample (BMI>25) relative to a reference sample (BMI<25).
shows frequency of the query diagnoses with respect to gender
shows frequency of the query diagnoses with respect to BMI